package com.only4play.importapt.model;

import com.only4play.importapt.model.entity.CustomerEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.checkerframework.checker.units.qual.C;

/**
 * @author liyuncong
 * @version 1.0
 * @file WrapTask
 * @brief 自定义任务类
 * @details 自定义任务类
 * @date 2024-05-11
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                     NAME               DESCRIPTION
 * 2024-05-11               liyuncong          Created
 */

@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
public class WrapTask implements Runnable{
    // 任务数据
    private Object object;

    // 重试纪元
    private int retryEpoch;

    @Override
    public void run() {
//        CustomerEntity entity = (CustomerEntity) object;

    }
}
